-
Notifications
You must be signed in to change notification settings - Fork 534
+tck #236 example subscriber whitebox tested, and whitebox fixed #244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
+tck #236 example subscriber whitebox tested, and whitebox fixed #244
Conversation
// cc @viktorklang |
return signalNext(element); | ||
} | ||
|
||
public T signalNext(T element) throws InterruptedException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Public?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be private, yeap
Aside from comments, 👍! |
a7878e2
to
ae354a8
Compare
Comments addressed 👍 |
@reactive-streams/contributors this is a documentation fix and bugfix for the TCK, will merge in 48h if no objections have been made |
Since this is all in the TCK I'm assuming it's fixing conformance with the spec, so I'm okay with it. |
ae354a8
to
99c0cad
Compare
+tck #236 example subscriber whitebox tested, and whitebox fixed
Adds better example on using
SubscriberWhiteboxVerification
- it now explains how you would use it with your impl, thanks @purplefox for pointing out the need for clarification here in #236!This PR also makes us use the whitebox to test the example subscriber. This found a bug in the new tests introduced during https://github.com/reactive-streams/reactive-streams-jvm/pull/209/files as it accidentally subscribed twice (whitebox's Stage is subscribing the
sub
to thepub
during creation). Fixed tests, and improved docs on these methods.Resolves #236